<script lang="ts" setup>
// import { useMainStore } from '@/store/main'
import { ref } from 'vue'
import swxDtForm from '@/components/swx-dt-form/index.vue'
// 常量
// 结构化-添加数据源
const jghsjy = [
  {
    name: '采集数据源：',
    value: 'bh',
    tag: 'selecttree',
    multiple: false,
    nodeKey: 'bh',
    collapseTags: false,
    disabled: false,
    defaultProps: {
      label: 'xsmc',
      nodeKey: 'bh',
      children: 'children',
    },
  },
]
const formValue = ref({
  bh: '',
})
const formRef = ref()
</script>
<template>
  <!-- 表单使用 -->
  <swxDtForm v-model:form-value="formValue" ref="formRef" :form-list="jghsjy"></swxDtForm>
</template>
<style lang="scss" scoped>
.progress_div {
  // height: 100%;
  padding: 10px;
}
.cron-box {
  width: 600px;
}
</style>
